package org.szy.core.common.entity;


import java.io.Serializable;
import java.util.List;
/**
 * TreeSelect树结构实体类
 *
 * @author 孙志阳
 * @date 2020年6月4日 08:45:50
 */
public class TreeSelect implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 节点唯一标识
     */
    private String id;

    /**
     * 备用Id
     */
    private String spareId;

    /**
     * 节点名称
     */
    private String label;

    /**
     * 节点值
     */
    private String value;

    /**
     * 子节点
     */
    private List<TreeSelect> children;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSpareId() {
        return spareId;
    }

    public void setSpareId(String spareId) {
        this.spareId = spareId;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public List<TreeSelect> getChildren() {
        return children;
    }

    public void setChildren(List<TreeSelect> children) {
        this.children = children;
    }
}
